import java.util.Scanner;

public class addrManage
{
	Scanner scan = new Scanner (System.in);
	
	public addrManage()
	{
		
	}
	
	public void addrAdd()
	{	
		addrCollection address = new addrCollection();
			
		System.out.print ("last name: ");
		String lastName = scan.nextLine();
			
		System.out.print ("first name: "); 
		String firstName = scan.nextLine();
		
		System.out.print ("position: "); 
		String position = scan.nextLine();
		
		System.out.print ("deoartment: "); 
		String department = scan.nextLine();
		
		System.out.print ("company name: "); 
		String companyName = scan.nextLine();
		
		System.out.print ("address: "); 
		String addr = scan.nextLine();
		
		System.out.print ("telephone number: "); 
		int telephoneNum = scan.nextInt();
		
		System.out.print ("fax number: "); 
		int faxNum = scan.nextInt();
		
		System.out.print ("mobile number: "); 
		int mobileNum = scan.nextInt();
	
		System.out.print ("email address: "); 
		String email = scan.nextLine();
		
		System.out.print ("homepage name: "); 
		String homepage = scan.nextLine();
		
		address.addAddr(lastName, firstName, position, department, companyName, addr, telephoneNum, faxNum, mobileNum, email, homepage);
	}
		
	public void pwChange(int pw)
	{
		System.out.print("Modify to password: ");
		int modifyPw = scan.nextInt();
		pw = modifyPw;
	}
		
	public void addrDisplay()
	{
		
	}
		
	public void addrView()
	{
			
	}
		
	public void addrUpdate()
	{
			
	}
		
	public void addrSearch()
	{
			
	}
		
	public void addrDelete()
	{
			
	}
}
